<table class="layui-table">
    <colgroup>
      <col width="150">
      <col width="200">
      <col>
    </colgroup>
    <thead>
      <tr>
        <th>ID</th>
        <th>昵称</th>
        <th>联系电话</th>
      </tr> 
    </thead>
    <tbody>
        {foreach name="list" item="val" key="k"}
      <tr>
        <td>{$val.id}</td>
        <td>{$val.nickname}</td>
        <td>{$val.phone}</td>
      </tr>
      {/foreach}
      
    </tbody>
  </table>